package eden.api.common.model;

import lombok.Data;

@Data
public class PageQuery {

    private Integer pageNum = 0;

    private Integer pageSize =10;

    private Integer pageLimit;

    private String dataAuth;


    public Integer getPageLimit() {
        return (getPageNum()-1)*getPageSize();
    }
}
